package com.monitor.dao;

import com.monitor.po.User;
import com.monitor.util.Pager;

public interface UserDao {
	User getUserByPhone(String phone) throws Exception;

	Pager<User> getAllUser(int pageSize, int currentPage) throws Exception;

	Pager<User> getUserByVipType(boolean isVip, int pageSize, int currentPage) throws Exception;

	void addUser(User user) throws Exception;

	void updateUser(User user) throws Exception;

	User getUserById(Long id) throws Exception;
	
}
